<template>
	<view>
		<my-login v-if="!token"></my-login>
		<my-userinfo v-else></my-userinfo>
	</view>
</template>

<script>
import badgeMix from '@/mixins/tabbar-badge'
import { mapState } from 'vuex'
	export default {
		mixins: [badgeMix],
		data() {
			return {
				
			};
		},
		onShow() {
			
		},
		computed: {
			...mapState('my_user', ['token']),
		},
	}
</script>

<style lang="scss">

</style>
